The authors propose a practical and accurate cross site script prevention method based on delimiters for UTF-8 encoded web applications. Only trusted delimiters are tainted into corresponding UTF-8 shadow bytes, and these tainted shadow bytes are automatically propagated in web applications and can be directly delivered into output pages. Cross site script is prevented by analyzing the tainted delimiters and HTML context of output pages. A prototype called XSSCleaner is implemented on PHP. The evaluation shows that XSSCleaner can accurately protect web applications from real world cross site script attacks with an average overhead 12.9%.
Based on the air quality data of five indices in 2010 for 78 main cities of China, the research calculated the comprehensive score of urban air quality, selected ten out of 48 variables describing the climate, topography, urban development and environment management of these cities with multivariate linear regression analysis, and quantified their contribution to the urban air quality. Based on the comprehensive score of urban air quality, the authors used a stratified random sample of 30 from the 78 cities, as a training sample, to construct a radial basis function network (RBFN) model, which was used to simulate air quality of 173 main cities in China based on the natural and social-economic features, and environmental management of the cities. The results indicated that the average saturation vapor pressure, built-up urban area, elevation range, and the percentage of industry in GDP as four major dominants of urban air quality, accounting for the variation by 14.7%, 12.8%, 8.8% and 7.2%, respectively. This study broke the limitation of most previous air quality assessment models, which merely took air pollutants and meteorological factors as input. The result showed a high accuracy (R2=0.658, p<2.2×10-14) of the RBFN model.
The Liaonan metamorphic core complex (MCC) developed a NNE trend, NWW-dipped, low-angle detachment fault. Ductile shear zone occurred in the lower part and mainly consists of mylonitic granitic gneisses, which indicated a top-to-NWW shearing. Finite strain measurement of feldspar strain markers were estimated by the Rf /φ method. It suggested that strain intensities of mylonites (Es) changed from 0.36 to 1.0 with an average of 0.75. Fulin and Hossack diagrams indicated strain types were close to flattening strain (lod parameter υ=0.11-0.98). Kinematic vorticity of mylonitic foliations and stretching lineations were estimated by Mohr diagram method and long and short axis method. The results indicated that kinematic vorticity ranged from 0.74 to 0.96 with an average of 0.85, which suggested that the foliations and lineations of mylonites recorded a bulk simple-dominated general shearing. The Kinematic vorticity during formation of extensional crenulation cleavage estimated by C′ method ranged from 0.10 to 0.84 with 0.58 on average. It recorded a later bulk pure-dominated general shearing. Based on the strain measurement, kinematic vorticity and thickness of the detachment fault, the quantification of thinning for the ductile shearing were calculated, which ranged from 130 to 705 m. All results suggested that the deformation mechanism of the Liaonan MCC was represented by earlier simple-dominated shearing and later pure-dominated shearing.